<%--
  Author: chengwei
  Date: 2016/7/14
  Time: 13:46
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <link rel="stylesheet" href="/resource/bootstrap/css/bootstrap.min.css">

    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
    <script src="/resource/js/jquery.min.js"></script>

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="/resource/bootstrap/js/bootstrap.min.js"></script>
</head>
<body>
<div class="container-fluid">
    <form class="form-horizontal" action="/login/u" method="post">
        <div class="row" style="height: 200px;">
        </div>
        <div class="row">
            <div class="col-md-4">

            </div>
            <div class="col-md-4">

                <div class="form-group">
                    <label class="col-sm-2 control-label">用户名:</label>

                    <div class="col-sm-10">
                        <input type="text" class="form-control" id="username" name="username">
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="col-sm-2 control-label">密码:</label>

                    <div class="col-sm-10">
                        <input type="password" class="form-control" id="password" name="password">
                    </div>
                </div>


            </div>
            <div class="col-md-4">

            </div>
        </div>
        <div class="row" style="height: 200px;">
            <div class="col-md-5">

            </div>
            <div class="col-md-2">
                <button class="btn btn-default" type="submit">登录</button>
            </div>
            <div class="col-md-5">

            </div>

        </div>
    </form>
    <div class="modal fade" id="editColumn">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                            aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">编辑栏目</h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" id="form_column">
                        <div class="form-group">
                            <label for="column_name" class="col-sm-2 control-label">栏目名称</label>

                            <div class="col-sm-10">
                                <input type="email" class="form-control" id="column_name" placeholder="名称">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_order" class="col-sm-2 control-label">显示顺序</label>

                            <div class="col-sm-10">
                                <input type="text" class="form-control" id="show_order" placeholder="顺序">
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                    <button type="button" class="btn btn-primary" onclick="doSave();">保存</button>
                </div>
            </div>
        </div>
    </div>

</div>
</body>
</html>
